hasType

abstract fun hasType(): Boolean
Force type of field (callback or static allocation)
optional .FieldType type = 3 [default = FT_DEFAULT];

Return

Whether the type field is set.